﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain;

namespace Traceability.Service.Interfae
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
    public interface ISlaughterService
    {
        Task<int> AddSlaughter(Slaughter slaughter);
        /// <summary>
        /// 显示（溯源批次）
        /// </summary>
        /// <param name="bath"></param>
        /// <returns></returns>
        Task<List<Slaughter>> GetSlaughter(string bath);
        /// <summary>
        /// 反填(本身批次)
        /// </summary>
        /// <param name="bath"></param>
        /// <returns></returns>
        Task<List<Slaughter>> GetSlaughterBy(string bath);
        Task<int> UpdateSlaughter(Slaughter slaughter);
    }
}
